//SD card driver

sdcard			out	82			sdcard_address_low 	//setting command parameters
				out	83			sdcard_address_high

				out	80			sdcard_command 		//sdcard_command to 1

respond			in	81			sdcard_response 	//tells it to set respgose
				bne	respond		sdcard_response	go

				in	84			sdcard_data			//set respgose parameters
					
				out	80			stop				//turn command to 0

waiting			in	81			sdcard_response
				bne	waiting		sdcard_response	stop

				ret	sdcard_return

sdcard_command			.data	1
sdcard_response			.data	0
sdcard_address_low		.data	0
sdcard_address_high		.data	0
sdcard_data				.data	0

stop					.data	0
go						.data	1
sdcard_return			.data	0

					
